<?php
// show parent message
if($path != '')
{
	$ids = explode('/', $path );
	$total = count( $ids ) - 1;
	$sizePerPost = 18/$total;
	$numLeft = $total; 
	$textSize = 10;
	if($total == 1)
		$textSize = 28;
	foreach($ids as $id)
	{
		if($id > 0)
		{
			$message = BoardDAO::GetMessage($id);	
			$odd = false;
			$pathBackup = $path;
			$path = $message['Path'];
			require 'message.tpl';
			$path = $pathBackup;
			$textSize += $sizePerPost;
		}
	}
}
